package org.jeecg.modules.communityDynamicManag.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.communityDynamicManag.entity.*;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @Description: 社团动态管理
 * @Author: jeecg-boot
 * @Date:   2020-07-21
 * @Version: V1.0
 */
public interface ICommunityDynamicManagService extends IService<CommunityDynamicManag> {

    // 分页查询
    Page<CommunityDynamicManagResult> getPageList(Page<CommunityDynamicManagResult> pageList, CommunityDynamicManagResult communityDynamicManag);

    // 当前动态点赞
    Boolean saveLikes(ClubDynamicsLikesEntity form);

    // 获取点赞用户列表
    Page<ClubDynamicsLikesEntityResult> getLikesUser(Page<ClubDynamicsLikesEntityResult> pageList);

    // 动态审核
    Boolean dynamicReview(CommunityDynamicManag form);

}
